<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/common.jsp"%>
<html>
<head>
<title>发表新主题</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet"
	href="${pageContext.request.contextPath}/css/blue/forum.css" />
<link type="text/css" rel="stylesheet"
	href="${pageContext.request.contextPath}/ckeditor/samples/css/samples.css" />
<script language="javascript" src="${pageContext.request.contextPath}/ckeditor/ckeditor.js" ></script>
</head>
<body>

	<!-- 标题显示 -->
	<div id="Title_bar">
		<div id="Title_bar_Head">
			<div id="Title_Head"></div>
			<div id="Title">
				<!--页面标题-->
				<img border="0" width="13" height="13"
					src="${pageContext.request.contextPath}/css/images/title_arrow.gif" />
				发表新主题
			</div>
			<div id="Title_End"></div>
		</div>
	</div>

	<!--显示表单内容-->
	<div id="MainArea">
		<s:form action="topicAction_add.do" style="margin: 0; padding: 0;">
			<div id="PageHead"></div>
			<center>
				<div class="ItemBlock_Title1">
					<div width=85% style="float:left">
						<font class="MenuPoint"> &gt; </font>
						<s:a action="forumAction_showAllForum.do">论坛</s:a>
						<font class="MenuPoint"> &gt; </font>
						<s:a action="forumAction_forumShow.do?id=%{id}">${name }</s:a>
						<font class="MenuPoint"> &gt;&gt; </font> 发表新主题
					</div>
				</div>
				<div class="ItemBlockBorder">
					<table border="0" cellspacing="1" cellpadding="1" width="100%"
						id="InputArea">
						<tr>
							<td class="InputAreaBg" height="30"><div class="InputTitle">标题</div>
							</td>
							<td class="InputAreaBg"><div class="InputContent">
									<s:textfield name="title" class="InputStyle" style="width:100%" />
								</div>
							</td>
						</tr>
						<tr height="240">
							<td class="InputAreaBg"><div class="InputTitle">内容</div></td>
							<td class="InputAreaBg"><div class="InputContent">
									<s:textarea id="content" name="content"></s:textarea>
								</div></td>
						</tr>
						<tr height="30">
							<td class="InputAreaBg" colspan="2" align="center"><input
								type="image"
								src="${pageContext.request.contextPath}/css/blue/images/button/submit.PNG"
								style="margin-right:15px;" /> <a
								href="javascript:history.go(-1);"><img
									src="${pageContext.request.contextPath}/css/blue/images/button/goBack.png" />
							</a>
							</td>
						</tr>
					</table>
				</div>
			</center>
		</s:form>
	</div>

	<div class="Description">
		说明：<br />

	</div>

</body>
</html>
<script type="text/javascript">
	CKEDITOR.replace('content', {
		language : 'fr',
		uiColor : '#9AB8F3',
	});
</script>